home *** CD-ROM | disk | FTP | other *** search
- Path: news.genie.net!usenet
- From: i.einman@genie.com (IAN J. EINMAN)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Datatypes bitmap problems
- Date: 17 Feb 1996 22:45:22 GMT
- Organization: via GEnie Services (1-800-638-9636 or info@genie.com)
- Sender: i.einman@genie.com (IAN J. EINMAN)
- Message-ID: <4g5lq2$6pn@rock101.genie.net>
- NNTP-Posting-Host: rock102.is.ge.com
-
- >>1. If I copy it to another bitmap, why is the remapping trashed?
- 2. How do I keep datatypes from freeing it when I dispose of the Object?
-
-
- 1. You are copying the wrong bitmap, most likely. There is a PDTA_BitMap
- and a PDTA_SourceBitMap, make sure to use the right one.
-
- 2. You don't. You need to copy it, or keep the object. You wouldn't want to keep it,
- since you wouldn't know how to free it later. I usually keep the object. Use
- PDTA_FreeSourceBitMap, TRUE and the original bitmap will get deleted, only the source
- <<<not source ignore that/// only the remapped bitmap is left. The overhead of the
- datatype object isn't that much. Just free the object later, when you're done with the
- bitmap.
-
-